.login {
  height: 100%;
  background-image: url("~@/img/bg.jpg");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  position: relative;
  &::before {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    content: "";
    background-color: rgba(54, 59, 70, 0.9);
  }
  .content-box {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    z-index: 2;
    // .header-title {
    //   flex-shrink: 0;
    //   padding: 40px 0;
    //   text-align: center;
    //   color: #eee;
    //   >h3{
    //     font-size:25px;
    //   }
    // }
    .middle-body {
      flex-grow: 1;
      // padding-top: 50px;
      display: flex;
      align-items: center;
      .login-form {
        width: 750px;
        height: 400px;
        margin: 0 auto;
        border-radius: 7px;
        overflow: hidden;
        display: flex;
        .f-left {
          flex-shrink: 0;
          height: 100%;
          width: 314px;
          background-image: url("~@/img/bg1.png");
          background-repeat: no-repeat;
          background-position: -128px -2px;
          position: relative;
          .left-nr {
            position: absolute;
            z-index: 1;
            width: 100%;
            height: 100%;
            background-color: rgba($menu-color, 0.8);
            display: flex;
            flex-direction: column;
          //   color: white;
            .head {
              flex-grow: 1;
              //   background-color: #4faaa0;
              text-align: center;
              padding-top: 50px;
              > img {
                // border-radius: 50%;
                width: 80px;
                height: 80px;
              }
              > p {
                font-size: 20px;
                color:$bg-menu;
              }
            }
            .footer {
              flex-shrink: 0;
              height: 200px;
              text-align: center;
              padding-top: 150px;
            }
          }
        }
        .f-right {
          flex-grow: 1;
          height: 100%;
          background-color: white;
          padding: 30px;
          .right-title {
            color: #888;
            .cur {
              font-size: 20px;
              color: #000;
            }
          }
          .form-box {
            margin-top: 30px;
            .form-input {
              height: 45px;
              border-bottom: 1px solid #eee;
              position: relative;
              margin-bottom: 15px;
              .input {
                height: 100%;
                width: 90%;
                border: none;
                outline: none;
                font-size: 16px;
              }

              .input-icon {
                position: absolute;
                z-index: 1;
                top: 0;
                right: 0;
                height: 45px;
                line-height: 45px;
                width: 32px;
                text-align: center;
              }
            }
            .error {
              color: red;
              border-color: red;
            }
          }
        }
      }
    }
    .footer-body {
      flex-shrink: 0;
      text-align: center;
      padding: 20px 0;
      color: white;
      background-color: rgba(#3a3e47, 0.6);
    }
  }
}
